<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="../css/mui.min.css" rel="stylesheet" />
		<script src="../js/mui.min.js"></script>
		<link rel="stylesheet" type="text/css" href="../css/style.css" />
		<link rel="stylesheet" type="text/css" href="../css/datepicker3.css" />
		<link rel="stylesheet" href="../css/picker.css" />
		<link rel="stylesheet" href="../css/poppicker.css" />
		<link rel="stylesheet" href="../css/font-awesome.min.css" />
		<link rel="stylesheet" href="../css/bootstrap.min.css" />
		<link rel="stylesheet" href="../css/web.css" />
		<script src="../plugin/crop/croppie.min.js"></script>
		<style>
			.mui-input-row {
				border-bottom: 0.5px rgba(204, 204, 204, 0.2) groove;
			}
		</style>

	</head>

	<body>
		<header class="mui-bar mui-bar-nav public-color">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">店铺设置</h1>
		</header>
		<div class="mui-content dpedit">
			<form class="mui-input-group  tjxdz" id="form">
				<div class="mui-input-row img-click">
					<!--<img src="../img/logo.png" class="gr-img">-->
					<div class="actions">
						<div id="img_list" class="img_list">
							<!--<div>
		            			<span class='del'>×</span>
			            		<img src="img/default.jpg"/>
			            	</div>-->
						</div>
						<button class="file-btn" id="btn_logo">
			                <span><i class=" fa fa-plus"></i></span>
			                <input type="file" id="upload" value="选择图片文件" multiple />
			            </button>
					</div>
				</div>
			</form>
		</div>
		<div class="mui-input-row">
			<label>店铺名称</label>
			<input placeholder="请输入店铺名称" id="agent_name" type="text">
		</div>
		<div class="mui-input-row dpedit">
			<label>经营类目</label>
			<select class="mui-btn-block" id="business_scope">
				<option value="0">请选择经营类目</option>
				<option value="1">生活日化</option>
				<option value="2">服饰</option>
				<option value="3">家用电器</option>
			</select>
		</div>
		<div class="mui-input-row">
			<label>店铺区域</label>
			<input placeholder="请选择店铺所在区域" name="dis" id="dis" type="text" readonly="readonly">
		</div>
		<div class="mui-input-row dpedit">
			<label>店铺性质</label>
			<select class="mui-btn-block" id="store_property">
				<option value="0">请选择店铺性质</option>
				<option value="1">个人</option>
				<option value="2">商家</option>
				<option value="3">厂家</option>
			</select>
		</div>
		<div id="yyzz" class="mui-input-row img-click" style="height: 90px;">
			<label style="width: 150px;padding-top: 30px;">营业执照</label>
			<div class="actions">
				<div id="img_list" class="img_list">
					<!--<div>
	            			<span class='del'>×</span>
		            		<img src="img/default.jpg"/>
		            	</div>-->
				</div>
				<button class="file-btn" id="btn_license">
	                <span><i class=" fa fa-plus"></i></span>
	                <input type="file" id="upload1" value="选择图片文件" multiple />
	            </button>
			</div>
		</div>
		<div class="mui-input-row img-click" style="height: 90px;">
			<label style="width: 150px;padding-top: 30px;">法人身份证正面照</label>
			<div class="actions">
				<div id="img_list" class="img_list">
					<!--<div>
	            			<span class='del'>×</span>
		            		<img src="img/default.jpg"/>
		            	</div>-->
				</div>
				<button class="file-btn" id="btn_card1">
	                <span><i class=" fa fa-plus"></i></span>
	                <input type="file" id="upload2" value="选择图片文件" multiple />
	            </button>
			</div>
		</div>
		<div class="mui-input-row img-click" style="height: 90px;">
			<label style="width: 150px;padding-top: 30px;">法人身份证反面照</label>
			<div class="actions">
				<div id="img_list" class="img_list">
					<!--<div>
	            			<span class='del'>×</span>
		            		<img src="img/default.jpg"/>
		            	</div>-->
				</div>
				<button class="file-btn" id="btn_card2">
	                <span><i class=" fa fa-plus"></i></span>
	                <input type="file" id="upload3" value="选择图片文件" multiple />
	            </button>
			</div>
		</div>
		<input type="hidden" name="storeid" id="storeid" value="0" />
		<input type="hidden" name="province" id="province" />
		<input type="hidden" name="city" id="city" />
		<input type="hidden" name="district" id="district" />		
		<button class="xg-a" id="btn">保存</button>
		<script type="text/javascript" src="../js/jquery.min.js"></script>
		<script type="text/javascript" src="../js/bootstrap-datepicker.js"></script>
		<script src="../js/layer/layer.min.js"></script>
		<script src="../js/castapp.js"></script>
		<script src="../js/app.js"></script>
		<script src="../js/picker.js"></script>
		<script src="../js/poppicker.js"></script>
		<script src="../js/city.data-3.js"></script>
		<script src="../js/bootstrap.min.js"></script>
		<script>
			$(function() {
				$(".datetimepicker").datepicker({
					language: "zh-CN",
					autoclose: true, //选中之后自动隐藏日期选择框
					clearBtn: true, //清除按钮
					todayBtn: true, //今日按钮
					format: "yyyy-mm-dd" //日期格式，详见 http://bootstrap-datepicker.readthedocs.org/en/release/options.html#format
				});
				$('#upload').on('change', function() {
					readFile(this, "store_logo", 1);
				});
				$('#upload1').on('change', function() {
					readFile(this, "license", 1);
				});
				$('#upload2').on('change', function() {
					readFile(this, "card1", 1);
				});
				$('#upload3').on('change', function() {
					readFile(this, "card2", 1);
				});
				$("#store_property").on('change', function() {
					var pro_v = $(this).val();
				});
			});
		</script>
	</body>

</html>